
import Vue from 'vue'
import Router from 'vue-router'
import List from '../components/list.vue'
import Add from '../components/add.vue'

Vue.use(Router)

export default new Router({
    routes: [
        {
            path: '/list',
            name: 'list',
            component: List
        },
        {
            path: '/add',
            name: 'add',
            component: Add
        }
    ]
})